home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / ArchiFacile / ArchiFacileSetup.exe / {app} / nw.pak / Unnamed File 001143.txt < prev    next >
Text File  |  2014-10-14  |  5KB  |  120 lines

  1. <!DOCTYPE html>
  2. <html i18n-values="dir:textdirection;">
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>ServiceWorker registrations</title>
  6.   <link rel="stylesheet" href="chrome://resources/css/tabs.css">
  7.   <link rel="stylesheet" href="chrome://resources/css/widgets.css">
  8.   <style>/* Copyright 2014 The Chromium Authors. All rights reserved.
  9.  * Use of this source code is governed by a BSD-style license that can be
  10.  * found in the LICENSE file. */
  11.  
  12. .serviceworker-summary {
  13.     background-color: rgb(235, 239, 249);
  14.     border-top: 1px solid rgb(156, 194, 239);
  15.     margin-bottom: 6px;
  16.     margin-top: 12px;
  17.     padding: 3px;
  18.     font-weight: bold;
  19. }
  20.  
  21. .serviceworker-item {
  22.     margin-bottom: 15px;
  23.     margin-top: 6px;
  24.     position: relative;
  25. }
  26.  
  27. .serviceworker-scope {
  28.     color: rgb(85, 102, 221);
  29.     display: inline-block;
  30.     max-width: 500px;
  31.     overflow: hidden;
  32.     padding-bottom: 1px;
  33.     padding-top: 4px;
  34.     text-decoration: none;
  35.     text-overflow: ellipsis;
  36.     white-space: nowrap;
  37. }
  38.  
  39. .serviceworker-version {
  40.     padding-left: 10px;
  41. }
  42.  
  43. .controls a {
  44.     -webkit-margin-end: 16px;
  45.     color: #777;
  46. }
  47. </style>
  48. </head>
  49. <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
  50.     <!-- templates -->
  51.     <div style="display:none">
  52.         <div id="serviceworker-version-template" class="serviceworker-version">
  53.             <div class="serviceworker-status">
  54.                 <span>Installation Status:</span>
  55.                 <span jscontent="$this.status"></span>
  56.             </div>
  57.             <div class="serviceworker-running-status">
  58.                 <span>Running Status:</span>
  59.                 <span jscontent="$this.running_status"></span>
  60.             </div>
  61.             <div class="serviceworker-pid">
  62.                 <span>Renderer process ID:</span>
  63.                 <span jscontent="$this.process_id"></span>
  64.             </div>
  65.             <div class="serviceworker-tid">
  66.                 <span>Renderer thread ID:</span>
  67.                 <span jscontent="$this.thread_id"></span>
  68.             </div>
  69.         </div>
  70.         <div id="serviceworker-list-template"
  71.              jsvalues="$partition_path:$this.partition_path;.partition_path:$this.partition_path">
  72.             <div class="serviceworker-summary">
  73.                 <span>Instances in: </span>
  74.                 <span jscontent="$this.partition_path"></span>
  75.                 <span jscontent="'(' + $this.registrations.length + ')'"></span>
  76.             </div>
  77.             <div class="serviceworker-item" jsselect="$this.registrations">
  78.                 <div class="serviceworker-scope">
  79.                     <span>Scope:</span>
  80.                     <span jscontent="scope"></span>
  81.                 </div>
  82.                 <div class="serviceworker-script_url">
  83.                     <span>Script:</span>
  84.                     <span jscontent="script_url"></span>
  85.                 </div>
  86.                 <div jsselect="$this.active">
  87.                     Active worker:
  88.                     <div transclude="serviceworker-version-template"></div>
  89.                 </div>
  90.                 <div jsselect="$this.pending">
  91.                     Pending worker:
  92.                     <div transclude="serviceworker-version-template"></div>
  93.                 </div>
  94.                 <div class="controls">
  95.                     <button class="stop" jsdisplay="$this.active.running_status == 'RUNNING'"
  96.                        jsvalues=".scope:scope;.partition_path:$partition_path">Stop</button>
  97.                     <button href="#" class="start" jsdisplay="$this.active.running_status != 'RUNNING'"
  98.                        jsvalues=".scope:scope;.partition_path:$partition_path">Start</button>
  99.                     <button href="#" class="unregister"
  100.                        jsvalues=".scope:scope;.partition_path:$partition_path">Unregister</button>
  101.                     <span class="operation-status" style="display: none">Running...</span>
  102.                 </div>
  103.             </div>
  104.         </div>
  105.     </div>
  106.     <h1>ServiceWorker registrations</h1>
  107.     <div class="content">
  108.         <div id="serviceworker-list">
  109.     </div>
  110.     <script src="chrome://resources/js/util.js"></script>
  111.     <script src="chrome://resources/js/cr.js"></script>
  112.     <script src="serviceworker_internals.js"></script>
  113.     <script src="chrome://resources/js/load_time_data.js"></script>
  114.     <script src="chrome://resources/js/jstemplate_compiled.js"></script>
  115.     <script src="strings.js"></script>
  116.     <script src="chrome://resources/js/i18n_template2.js"></script>
  117. </body>
  118. </html>
  119.  
  120.